package com.hyt.it.ogt.kq.service.gov.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 批次考场表
 * </p>
 *
 * @author huangyh
 * @since 2021-03-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("kw_time_room")
@ApiModel(value="KwTimeRoom对象", description="批次考场表")
public class TimeRoom extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试任务id")
    private String taskId;

    @ApiModelProperty(value = "场次编号")
    private String code;

    @ApiModelProperty(value = "批次id")
    private String timeId;

    @ApiModelProperty(value = "考场id")
    private String roomId;

    @ApiModelProperty(value = "计划编排数")
    private Integer planCount;

    @ApiModelProperty(value = "最大编排数")
    private Integer maxCount;

    @ApiModelProperty(value = "实际编排数")
    private Integer actualCount;

    @ApiModelProperty(value = "考务包文件id")
    private String roomDataFileId;

    @ApiModelProperty(value = "考务包版本")
    private String roomDataVersion;

    @ApiModelProperty(value = "选择类型，0：选中，1：排除，为了兼容老数据")
    @TableField("select_type")
    private String selectType;

    @ApiModelProperty(value = "机构id")
    private String officeId;

    @ApiModelProperty(value = "部门id")
    private String deptId;
}
